import ipad.asia.utils.FtpUtil;
import ipad.asia.utils.MD5Util;
import org.junit.jupiter.api.Test;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;

public class test {


    @Test
    public void test(){
        File path=new File("consumer-enterprise-6001/src/main/java/ipad/asia");
        System.out.println(path);
    }
    @Test
    public void test2() throws FileNotFoundException {
//        File file=new File("/Users/feng/Desktop/素材/58ee3d6d55fbb2fb2c58cc5.jpeg");
//        InputStream inputStream=new FileInputStream(file);
//        FtpUtil.uploadFile(file.getName(),inputStream);
        System.out.println(MD5Util.inputPassToDbPass("qq","2584311a2b3c4d"));
    }
}
